<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
</head>
<body>
<div id="persistent"></div>
<footer id="also-persistent"></footer>
<script src="../../../node_modules/navigo/lib/navigo.js"></script>
<script type="module">
  import { makeRouter } from '../basicRouter.js'

  const router = makeRouter(['', 'about'])

  router.addAfterHook('/about', () => {
    document.body.appendChild(document.createElement('div'))
  })
</script>
</body>
</html>